package com.tvunetworks.center.gs.model;


import com.tvunetworks.center.common.model.BaseBean;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Table;

/**
 * @author Ethan
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
@Table(name = "tvu_token_request")
public class TokenRequest extends BaseBean {

    private String userId;
    private String xId;

    /** {@link com.tvunetworks.center.common.constant.LocalConstant.GridTokenPairStatus} */
    private Integer status; //1：等待 2：拒绝 3：接受   delete_flag 0:存在 1:删除 3：从token上把设备移除
    private String code;
    private String rId;
    private Integer expireFlag; // 0 未过期，1已过期

}
